package com.soft.service.impl;

import com.soft.dao.UserDao;
import com.soft.dao.impl.UserDaoImpl;
import com.soft.pojo.User;
import com.soft.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public User searchUserByUserNameAndPwd(String userName, String pwd) {
        return userDao.searchUserByUserNameAndPwd(userName,pwd);
    }
}
